┌────────────────────────────────┐ │ ░░░ ░░▓ ░▓▓ ███ ▓▓░ ▓░░ │ │ ~ M O O N ~ │ └────────────────────────────────┘
prd-web-01.centraldc.gr
LOCATION:
/usr/lib/python3.12/site-packages/file_magic-0.4.0-py3.12.egg-info
☗ ROOT
↻ REFRESH
✎ EDIT FILE
EDITING: PKG-INFO
Metadata-Version: 2.1 Name: file-magic Version: 0.4.0 Summary: (official) libmagic Python bindings Home-page: https://github.com/file/file Author: Reuben Thomas, Álvaro Justen Author-email: rrt@sc3d.org, alvarojusten@gmail.com License: BSD Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License Classifier: Natural Language :: English Classifier: Topic :: Software Development :: Libraries :: Python Modules Description-Content-Type: text/markdown License-File: LICENSE # `file-magic`: Python Bindings This library is a Python ctypes interface to `libmagic`. ## Installing You can install `file-magic` either with: python setup.py install # or easy_install . # or pip install file-magic ## Using import magic detected = magic.detect_from_filename('magic.py') print 'Detected MIME type: {}'.format(detected.mime_type) print 'Detected encoding: {}'.format(detected.encoding) print 'Detected file type name: {}'.format(detected.name) ## Developing/Contributing To run the tests: python setup.py test
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 dependency_links.txt
TXT
1 B
2025-03-26 00:00
EDIT
📄 PKG-INFO
?
1.1 KB
2025-03-26 00:00
EDIT
📄 SOURCES.txt
TXT
171 B
2025-03-26 00:00
EDIT
📄 top_level.txt
TXT
6 B
2025-03-26 00:00
EDIT